package com.caipin.domain.table;

/**
 * @Author: zhunian0322@163.com
 * @DateTime: 2021-10-06 11:34
 * @Description: TODO
 */
@TableName("t_gate_comparison_results")
public class GateComparisonResult {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String userId;

    private String username;

    private String userType;

    private String deviceId;

    private String uuid;

    private String nationCode;

    private Integer actionCode;

    private String action;

    private String temperature;

    private Boolean mask;

    private Date screenTime;

    private Integer similarity;

    private String name;

    private String gender;

    private String national;

    private String birthday;

    private String address;

    private String peopleNumber;

    private String maker;

    private String startDate;

    private String endDate;

    private String imgBase64;

    private String grade;

    private String clbum;

    private String afterTemperature;

    public com.caipin.domain.table.GateComparisonResult setId(Long id) {
        this.id = id;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setUserId(String userId) {
        this.userId = userId;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setUsername(String username) {
        this.username = username;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setUserType(String userType) {
        this.userType = userType;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setDeviceId(String deviceId) {
        this.deviceId = deviceId;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setUuid(String uuid) {
        this.uuid = uuid;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setNationCode(String nationCode) {
        this.nationCode = nationCode;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setActionCode(Integer actionCode) {
        this.actionCode = actionCode;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setAction(String action) {
        this.action = action;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setTemperature(String temperature) {
        this.temperature = temperature;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setMask(Boolean mask) {
        this.mask = mask;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setScreenTime(Date screenTime) {
        this.screenTime = screenTime;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setSimilarity(Integer similarity) {
        this.similarity = similarity;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setName(String name) {
        this.name = name;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setGender(String gender) {
        this.gender = gender;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setNational(String national) {
        this.national = national;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setBirthday(String birthday) {
        this.birthday = birthday;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setAddress(String address) {
        this.address = address;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setPeopleNumber(String peopleNumber) {
        this.peopleNumber = peopleNumber;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setMaker(String maker) {
        this.maker = maker;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setStartDate(String startDate) {
        this.startDate = startDate;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setEndDate(String endDate) {
        this.endDate = endDate;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setImgBase64(String imgBase64) {
        this.imgBase64 = imgBase64;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setGrade(String grade) {
        this.grade = grade;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setClbum(String clbum) {
        this.clbum = clbum;
        return this;
    }

    public com.caipin.domain.table.GateComparisonResult setAfterTemperature(String afterTemperature) {
        this.afterTemperature = afterTemperature;
        return this;
    }

    public boolean equals(Object o) {
        if (o == this)
            return true;
        if (!(o instanceof com.caipin.domain.table.GateComparisonResult))
            return false;
        com.caipin.domain.table.GateComparisonResult other = (com.caipin.domain.table.GateComparisonResult)o;
        if (!other.canEqual(this))
            return false;
        Object this$id = getId(), other$id = other.getId();
        if ((this$id == null) ? (other$id != null) : !this$id.equals(other$id))
            return false;
        Object this$userId = getUserId(), other$userId = other.getUserId();
        if ((this$userId == null) ? (other$userId != null) : !this$userId.equals(other$userId))
            return false;
        Object this$username = getUsername(), other$username = other.getUsername();
        if ((this$username == null) ? (other$username != null) : !this$username.equals(other$username))
            return false;
        Object this$userType = getUserType(), other$userType = other.getUserType();
        if ((this$userType == null) ? (other$userType != null) : !this$userType.equals(other$userType))
            return false;
        Object this$deviceId = getDeviceId(), other$deviceId = other.getDeviceId();
        if ((this$deviceId == null) ? (other$deviceId != null) : !this$deviceId.equals(other$deviceId))
            return false;
        Object this$uuid = getUuid(), other$uuid = other.getUuid();
        if ((this$uuid == null) ? (other$uuid != null) : !this$uuid.equals(other$uuid))
            return false;
        Object this$nationCode = getNationCode(), other$nationCode = other.getNationCode();
        if ((this$nationCode == null) ? (other$nationCode != null) : !this$nationCode.equals(other$nationCode))
            return false;
        Object this$actionCode = getActionCode(), other$actionCode = other.getActionCode();
        if ((this$actionCode == null) ? (other$actionCode != null) : !this$actionCode.equals(other$actionCode))
            return false;
        Object this$action = getAction(), other$action = other.getAction();
        if ((this$action == null) ? (other$action != null) : !this$action.equals(other$action))
            return false;
        Object this$temperature = getTemperature(), other$temperature = other.getTemperature();
        if ((this$temperature == null) ? (other$temperature != null) : !this$temperature.equals(other$temperature))
            return false;
        Object this$mask = getMask(), other$mask = other.getMask();
        if ((this$mask == null) ? (other$mask != null) : !this$mask.equals(other$mask))
            return false;
        Object this$screenTime = getScreenTime(), other$screenTime = other.getScreenTime();
        if ((this$screenTime == null) ? (other$screenTime != null) : !this$screenTime.equals(other$screenTime))
            return false;
        Object this$similarity = getSimilarity(), other$similarity = other.getSimilarity();
        if ((this$similarity == null) ? (other$similarity != null) : !this$similarity.equals(other$similarity))
            return false;
        Object this$name = getName(), other$name = other.getName();
        if ((this$name == null) ? (other$name != null) : !this$name.equals(other$name))
            return false;
        Object this$gender = getGender(), other$gender = other.getGender();
        if ((this$gender == null) ? (other$gender != null) : !this$gender.equals(other$gender))
            return false;
        Object this$national = getNational(), other$national = other.getNational();
        if ((this$national == null) ? (other$national != null) : !this$national.equals(other$national))
            return false;
        Object this$birthday = getBirthday(), other$birthday = other.getBirthday();
        if ((this$birthday == null) ? (other$birthday != null) : !this$birthday.equals(other$birthday))
            return false;
        Object this$address = getAddress(), other$address = other.getAddress();
        if ((this$address == null) ? (other$address != null) : !this$address.equals(other$address))
            return false;
        Object this$peopleNumber = getPeopleNumber(), other$peopleNumber = other.getPeopleNumber();
        if ((this$peopleNumber == null) ? (other$peopleNumber != null) : !this$peopleNumber.equals(other$peopleNumber))
            return false;
        Object this$maker = getMaker(), other$maker = other.getMaker();
        if ((this$maker == null) ? (other$maker != null) : !this$maker.equals(other$maker))
            return false;
        Object this$startDate = getStartDate(), other$startDate = other.getStartDate();
        if ((this$startDate == null) ? (other$startDate != null) : !this$startDate.equals(other$startDate))
            return false;
        Object this$endDate = getEndDate(), other$endDate = other.getEndDate();
        if ((this$endDate == null) ? (other$endDate != null) : !this$endDate.equals(other$endDate))
            return false;
        Object this$imgBase64 = getImgBase64(), other$imgBase64 = other.getImgBase64();
        if ((this$imgBase64 == null) ? (other$imgBase64 != null) : !this$imgBase64.equals(other$imgBase64))
            return false;
        Object this$grade = getGrade(), other$grade = other.getGrade();
        if ((this$grade == null) ? (other$grade != null) : !this$grade.equals(other$grade))
            return false;
        Object this$clbum = getClbum(), other$clbum = other.getClbum();
        if ((this$clbum == null) ? (other$clbum != null) : !this$clbum.equals(other$clbum))
            return false;
        Object this$afterTemperature = getAfterTemperature(), other$afterTemperature = other.getAfterTemperature();
        return !((this$afterTemperature == null) ? (other$afterTemperature != null) : !this$afterTemperature.equals(other$afterTemperature));
    }

    protected boolean canEqual(Object other) {
        return other instanceof com.caipin.domain.table.GateComparisonResult;
    }

    public int hashCode() {
        int PRIME = 59;
        result = 1;
        Object $id = getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        Object $userId = getUserId();
        result = result * 59 + (($userId == null) ? 43 : $userId.hashCode());
        Object $username = getUsername();
        result = result * 59 + (($username == null) ? 43 : $username.hashCode());
        Object $userType = getUserType();
        result = result * 59 + (($userType == null) ? 43 : $userType.hashCode());
        Object $deviceId = getDeviceId();
        result = result * 59 + (($deviceId == null) ? 43 : $deviceId.hashCode());
        Object $uuid = getUuid();
        result = result * 59 + (($uuid == null) ? 43 : $uuid.hashCode());
        Object $nationCode = getNationCode();
        result = result * 59 + (($nationCode == null) ? 43 : $nationCode.hashCode());
        Object $actionCode = getActionCode();
        result = result * 59 + (($actionCode == null) ? 43 : $actionCode.hashCode());
        Object $action = getAction();
        result = result * 59 + (($action == null) ? 43 : $action.hashCode());
        Object $temperature = getTemperature();
        result = result * 59 + (($temperature == null) ? 43 : $temperature.hashCode());
        Object $mask = getMask();
        result = result * 59 + (($mask == null) ? 43 : $mask.hashCode());
        Object $screenTime = getScreenTime();
        result = result * 59 + (($screenTime == null) ? 43 : $screenTime.hashCode());
        Object $similarity = getSimilarity();
        result = result * 59 + (($similarity == null) ? 43 : $similarity.hashCode());
        Object $name = getName();
        result = result * 59 + (($name == null) ? 43 : $name.hashCode());
        Object $gender = getGender();
        result = result * 59 + (($gender == null) ? 43 : $gender.hashCode());
        Object $national = getNational();
        result = result * 59 + (($national == null) ? 43 : $national.hashCode());
        Object $birthday = getBirthday();
        result = result * 59 + (($birthday == null) ? 43 : $birthday.hashCode());
        Object $address = getAddress();
        result = result * 59 + (($address == null) ? 43 : $address.hashCode());
        Object $peopleNumber = getPeopleNumber();
        result = result * 59 + (($peopleNumber == null) ? 43 : $peopleNumber.hashCode());
        Object $maker = getMaker();
        result = result * 59 + (($maker == null) ? 43 : $maker.hashCode());
        Object $startDate = getStartDate();
        result = result * 59 + (($startDate == null) ? 43 : $startDate.hashCode());
        Object $endDate = getEndDate();
        result = result * 59 + (($endDate == null) ? 43 : $endDate.hashCode());
        Object $imgBase64 = getImgBase64();
        result = result * 59 + (($imgBase64 == null) ? 43 : $imgBase64.hashCode());
        Object $grade = getGrade();
        result = result * 59 + (($grade == null) ? 43 : $grade.hashCode());
        Object $clbum = getClbum();
        result = result * 59 + (($clbum == null) ? 43 : $clbum.hashCode());
        Object $afterTemperature = getAfterTemperature();
        return result * 59 + (($afterTemperature == null) ? 43 : $afterTemperature.hashCode());
    }

    public String toString() {
        return "GateComparisonResult(id=" + getId() + ", userId=" + getUserId() + ", username=" + getUsername() + ", userType=" + getUserType() + ", deviceId=" + getDeviceId() + ", uuid=" + getUuid() + ", nationCode=" + getNationCode() + ", actionCode=" + getActionCode() + ", action=" + getAction() + ", temperature=" + getTemperature() + ", mask=" + getMask() + ", screenTime=" + getScreenTime() + ", similarity=" + getSimilarity() + ", name=" + getName() + ", gender=" + getGender() + ", national=" + getNational() + ", birthday=" + getBirthday() + ", address=" + getAddress() + ", peopleNumber=" + getPeopleNumber() + ", maker=" + getMaker() + ", startDate=" + getStartDate() + ", endDate=" + getEndDate() + ", imgBase64=" + getImgBase64() + ", grade=" + getGrade() + ", clbum=" + getClbum() + ", afterTemperature=" + getAfterTemperature() + ")";
    }

    public Long getId() {
        return this.id;
    }

    public String getUserId() {
        return this.userId;
    }

    public String getUsername() {
        return this.username;
    }

    public String getUserType() {
        return this.userType;
    }

    public String getDeviceId() {
        return this.deviceId;
    }

    public String getUuid() {
        return this.uuid;
    }

    public String getNationCode() {
        return this.nationCode;
    }

    public Integer getActionCode() {
        return this.actionCode;
    }

    public String getAction() {
        return this.action;
    }

    public String getTemperature() {
        return this.temperature;
    }

    public Boolean getMask() {
        return this.mask;
    }

    public Date getScreenTime() {
        return this.screenTime;
    }

    public Integer getSimilarity() {
        return this.similarity;
    }

    public String getName() {
        return this.name;
    }

    public String getGender() {
        return this.gender;
    }

    public String getNational() {
        return this.national;
    }

    public String getBirthday() {
        return this.birthday;
    }

    public String getAddress() {
        return this.address;
    }

    public String getPeopleNumber() {
        return this.peopleNumber;
    }

    public String getMaker() {
        return this.maker;
    }

    public String getStartDate() {
        return this.startDate;
    }

    public String getEndDate() {
        return this.endDate;
    }

    public String getImgBase64() {
        return this.imgBase64;
    }

    public String getGrade() {
        return this.grade;
    }

    public String getClbum() {
        return this.clbum;
    }

    public String getAfterTemperature() {
        return this.afterTemperature;
    }
}

